package com.tiancai.pojo.dto;

import com.tiancai.enums.PayType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@Builder
@NoArgsConstructor
@Schema(name = "订单表Dto")
public class OrderDto {


    /**
     * 0-购买 1-租赁
     */
    @Schema(description = "订单类型,0-购买 1-租赁")
    private PayType type;


    /**
     * 货币类型 USD：美元 CNY：人民币
     */
    @Schema(description = "货币类型")
    private String currency;


    /**
     * 作品Id
     */
    @Schema(description = "作品Id")
    private Long productId;

    /**
     * 支付方式
     */
    @Schema(description = "支付方式")
    private String payMethod;


}
